home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / util / crypt / PGP_060patch.lha / PGP_060patch / PGP_060patch.readme < prev   
Text File  |  1998-02-20  |  2KB  |  47 lines

  1. Short:    _FAST_ 68060 patcher for PGP2.6.3i
  2. Author:   roragusa@freenet.hut.fi (Roberto Ragusa)
  3. Uploader: roragusa@freenet.hut.fi (Roberto Ragusa)
  4. Version:  1.0
  5. Type:     util/crypt
  6. Requires: PGP 2.6.3is
  7.  
  8. -------------------------------------------------------------------
  9. THIS PROGRAM IS ONLY A PATCHER. IT DOESN'T CONTAIN ANY CRYPTO CODE.
  10. -------------------------------------------------------------------
  11.  
  12. This is a small patcher that makes PGP a lot faster, and is only useful on
  13. 68060 processor.
  14.  
  15. The patch will make PGP executable (68020 version) 100 bytes bigger (but
  16. more than 2 times faster!). If used on 020/030/040 CPUs the patched version
  17. is probably a little slower (I didn't test that...), but it should work
  18. without problems.
  19.  
  20. Technically: the critical loop of the calculations has been rewritten
  21. without 32x32->64 mulu.l, thus avoiding missing instruction emulation
  22. and multitasking suspension (jumping mouse).
  23.  
  24. A little test (encrypt/sign and decrypt of the PGP executable itself):
  25. unpatched 8.64s and 8.00s, patched 4.32s and 3.77s (!!!).
  26.  
  27. I extensively tested the perfect working of the 060 PGP, so I'm pretty sure
  28. it hasn't got any bug.
  29.  
  30. WARNING: if you are using the original PGP executable with CyberPatcher
  31. and/or OxyPatcher, you could have some speed increase, but also spurious
  32. errors due to inaccurate emulation of the mulu.l instruction. Technically:
  33. the emulation routine does not preserve the X flag, but PGP does need that
  34. the X flag isn't changed. No problems with the patched version (because no
  35. mulu.l are emulated anymore and the rewritten loop takes care of X flag!).
  36.  
  37. If you don't trust this patch (you think it's a virus/backdoor...), just
  38. either don't use it and continue to have that "jumping mouse", or
  39. disassemble the changed code and check it on your own.
  40.  
  41. If you want to try it, use a command like this:
  42.   PatchPGPfor060 c:PGP ram:PGP060
  43. Then rename c:PGP to c:PGP.slow and copy ram:PGP060 to c:PGP.
  44.  
  45. Enjoy the speed!
  46. Send me an Email, if you think this patcher is useful :-) .
  47.